<template>
  <div>
    <h1>子组件直接更新父组件{{ num }}</h1>
    <Child8Vue :num.sync="num"></Child8Vue>
  </div>
</template>

<script>
import Child8Vue from "../components/Child8.vue";
export default {
    components:{
        Child8Vue
    },
    data(){
        return  {
            num:99
        }
    }
  
};
</script>

<style></style>
